﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Act.MemberRecharge
{
    /// <summary>
    /// 保存会员充值
    /// </summary>
    public class MemberRechargeAct
    {        

        /// <summary>
        /// Desc:付款的金额      
        /// </summary>
        [DisplayName("付款的金额")]
         
        public decimal Value { get; set; }

        /// <summary>
        /// Desc:支付方式。0=现金；1=银行卡（非对接）；11=支付宝；12=微信,21=美团 ,25=抖音。      
        /// </summary>
        [DisplayName("支付方式")]
        public int? PayMode { get; set; }     

        /// <summary>
        /// Desc:充值的门店       
        /// </summary>
        [DisplayName("充值的门店")]
        public Guid? ShopID { get; set; }       

        /// <summary>
        /// 是否赠送 1 赠送 0 不送
        /// </summary>
        public int? IfHandsel { get; set; }
        /// <summary>
        /// 会员ID
        /// </summary>
        public Guid? MemberId { get; set; }


        /// <summary>
        /// Desc:赠送的金额    IfHandsel=1时才赠送有效    
        /// </summary>           
        public decimal PresentAmount { get; set; }
    }


    public class RechargePresentAmountAct
    {
        /// <summary>
        /// Desc:充值的门店       
        /// </summary>
        [DisplayName("充值的门店")]
        public Guid? ShopID { get; set; }

        /// <summary>
        /// Desc:付款的金额      
        /// </summary>
        [DisplayName("付款的金额")]

        public decimal Value { get; set; }
    }
}
